package com.hakim.wfb.customer.params.user;

import com.hkfs.fundamental.api.params.SessionParameter;
import com.hkfs.fundamental.validate.annotaion.validation.Mobile;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by walkman on 2017/7/5.
 */
public class BindPhoneParameter extends SessionParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 手机号码
     */
    @Mobile(message = "手机号码格式不正确")
    @NotBlank(message = "请输入手机号码")
    private String mobilePhone;

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}